package cn.edu.imau.zy.examination.domain;

//import cn.edu.imau.zy.examination.dto.ElExamVO;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import cn.edu.imau.zy.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.*;
import java.math.BigDecimal;
import cn.edu.imau.zy.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 课程对象 el_exam
 * 
 * @author xsc
 * @date 2021-07-28
 */

@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("el_exam")
public class ElExam implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 考试名称 */
    @Excel(name = "考试名称")
    private String title;

    /** 考试描述 */
    @Excel(name = "考试描述")
    private String content;

    /** 学员抓拍照片时间 */
    @Excel(name = "学员抓拍照片时间")
    private Long photoMinutes;

    /** 切屏次数 */
    @Excel(name = "切屏次数")
    private Long cutScreen;

    /** 考试状态 */
    @Excel(name = "考试状态")
    private Long state;

    /** 总分数 */
    @Excel(name = "总分数")
    private Long totalScore;

    /** 及格分数 */
    @Excel(name = "及格分数")
    private Long qualifyScore;

    /** 开始时间 */
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd")
    private Date endTime;

    /** 总时长（分钟） */
    @Excel(name = "总时长", readConverterExp = "分/钟")
    @JsonFormat(pattern = "HH:mm")
    private Date totalTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


    @TableField(exist =  false)
    private String paperId;

    @TableField(exist = false)
    private List<String> depaId;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();



}
